package de.homelabs.moonrat.context.plugin.template;

import java.io.Reader;

import de.homelabs.moonrat.context.IDataProvider;
import de.homelabs.moonrat.exception.MoonratException;
import de.homelabs.moonrat.template.MoonratTemplate;

public interface ITemplateDataProvider extends IDataProvider {
	
	MoonratTemplate getTemplate(String templateName) throws MoonratException;
	Reader getTemplateReader(MoonratTemplate template) throws MoonratException;
	long getTemplateLastModified(MoonratTemplate template) throws MoonratException;
	boolean closeTemplateReader(MoonratTemplate template) throws MoonratException;
}
